package project.innovation.mooddiagnosis.dao;

import org.apache.catalina.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

public interface UserMapper {
    @Insert("INSERT IGNORE INTO user values (#{id}, #{name})")
    Integer insertUser(String id, String name);
    @Delete("DELETE from user where id = #{id}")
    void deleteUser(Integer id);
}
